//
//  OosAttribute.m
//  Oos4ios
//
//  Created by Pablo Gonzalez on 3/24/11.
//  Copyright 2011 11870.com. All rights reserved.
//


#import <oos4ios/Model/OosAttribute.h>

@implementation OosAttribute

@dynamic label;
@dynamic term;

@dynamic services;

static NSString *fetchPredicate = @"term = %@";

+ (OosAttribute *) attributeFromTerm:(NSString *)term
{
    OosAttribute *result = [super objectWithPredicate: fetchPredicate, term];
    if (!result) {
		result = [super create];
		result.term = term;
	}
    return result;
}


@end
